//
//  DHDrawerViewController.h
//  DeepBreathing
//
//  Created by DreamHack on 15-12-15.
//  Copyright (c) 2015年 DreamHack. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DHDrawerViewController : UIViewController

@property (nonatomic, strong, readonly) UIViewController * mainViewController;
@property (nonatomic, strong, readonly) UIViewController * leftViewController;
@property (nonatomic, strong, readonly) UIViewController * rightViewController;

@property (nonatomic, strong, readonly) UIScreenEdgePanGestureRecognizer * gestureOfOpenningLeftDrawer;

- (instancetype)initWithMainController:(UIViewController *)mainViewController leftViewController:(UIViewController *)leftViewController rightViewController:(UIViewController *)rightViewController;

- (instancetype)initWithMainController:(UIViewController *)mainViewController leftViewController:(UIViewController *)leftViewController;


- (void)openLeftDrawer;
- (void)closeLeftDrawer;
- (void)openRightDrawer;
- (void)closeRightDrawer;
















@end
